open_mock_socket = False
# socket_ip = '192.168.0.221'
socket_ip = '192.168.0.113'
ip = '127.0.0.1'
# ip = '192.168.0.113'
mock_socket_ip = ip
socket_port = 8088

websocket_ip = ip
websocket_port = 9093

http_ip = ip
http_port = 9093

mock_data_frequency = 0.02

mock_data_circle = 1 / mock_data_frequency

data_frequency = 0.02

data_circle = 1 / data_frequency

pack_len_to_send = 25

# 过滤数据的窗宽度。
pack_len_to_filter = 1000

sample_frequency = 50

# 每间隔多少个数据计算一次波峰波谷
calc_peak_data_interval = 500

# 波峰谷间的最小时间间隔
min_time_interval = 200

# 要判断呼吸稳定选取的周期数
stable_breath_frequencies = 6

stable_condition_delta_error = 0.1

min_stable_breath_frequency = 5
max_stable_breath_frequency = 30

stable_frequency_delta_error = 0.1

abandon_count_since_start = 100

min_filter_frequency_default = 12

max_filter_frequency_default = 15

no_record_time_since_start = 6
